<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<bean:define id="alertDetailForm" name="caAlertDetailForm" scope="request"/>

		  <table class="zoneFive" width="100%" border="0" cellspacing="0" cellpadding="0" summary="content area">
		    <tr>
			<td valign="top" width="100%">
			<div class="app_pageTitle">
			    <span class="left"><bean:message bundle="appCommonRes" key="bp.alertDetails.title" /></span>
			</div> 
		    
			<div class="app_pageSubtitle">
			    <span class="left"><bean:message bundle="appCommonRes" key="bp.alertDetails.title" /></span>
			</div> 
			<!--end page title area here-->
			
			<div class="blockWrap">
			 <table class="labelForm" width="100%" border="0" cellspacing="0" cellpadding="0" summary="Account information">
			   <tr> 
			     <td class="label" width="20%"><bean:message bundle="appCommonRes" key="bp.alerts.subject" />:</td>
			     <td class="labelField" width="80%"><bean:write name="alertDetailForm" property="subject" /></td>
			   </tr>
			   <tr> 
			     <td class="label" width="20%"><bean:message bundle="appCommonRes" key="bp.alerts.from" />:</td>
			     <td class="labelField" width="80%"><bean:write name="alertDetailForm" property="fromWhom" /></td>
			   </tr>
			   <tr> 
			     <td class="label" width="20%"><bean:message bundle="appCommonRes" key="bp.alerts.received" />:</td>
			     <td class="labelField" width="80%"><bean:write name="alertDetailForm" property="creationDate" formatKey="format.datetime.full" /></td>
			   </tr>
			   <tr> 
			     <td class="label" width="20%"><bean:message bundle="appCommonRes" key="bp.alerts.message" />:</td>
			     <td class="labelField" width="80%">
                                   <bean:write name="alertDetailForm" property="message" filter="false" />
				   
                                    <logic:equal name="alertDetailForm" property= "alertKind" value="CS_NOTIFICATION" >
				   <p><bean:message bundle="appCommonRes" key="bp.alertDetails.collaboration" />
                                      <html:link page="/cs/micrositeHome.do" paramId="micrositeId" paramName="caAlertDetailForm" paramProperty="micrositeId" paramScope="request" styleClass="blueTextLink"><bean:message bundle="appCommonRes" key="bp.alertDetails.here" /></html:link>
				   
                                    </logic:equal>

                                    <logic:equal name="alertDetailForm" property= "alertKind" value="CS_TASK" >
				   <p><bean:message bundle="appCommonRes" key="bp.alertDetails.collaborationTask" />
                                      <html:link page="/cs/taskView.do" name="alertDetailForm" property="taskUrlParams" styleClass="blueTextLink"><bean:message bundle="appCommonRes" key="bp.alertDetails.here" /></html:link>
				   
                                    </logic:equal>

                                    <logic:equal name="alertDetailForm" property= "alertKind" value="CS_CHECKLIST_TASK" >
				   <p><bean:message bundle="appCommonRes" key="bp.alertDetails.collaborationTask" />
                                      <html:link page="/cs/checklistTaskView.do" name="alertDetailForm" property="checklistTaskUrlParams" styleClass="blueTextLink"><bean:message bundle="appCommonRes" key="bp.alertDetails.here" /></html:link>
				   
                                    </logic:equal>

                                    <logic:equal name="alertDetailForm" property= "alertKind" value="CS_MEETING" >
				   <p><bean:message bundle="appCommonRes" key="bp.alertDetails.collaborationMeeting" />
                                      <html:link page="/cs/meetingView.do" name="alertDetailForm" property="meetingUrlParams" styleClass="blueTextLink"><bean:message bundle="appCommonRes" key="bp.alertDetails.here" /></html:link>
                                    </logic:equal>

				 </td>
			   </tr>
			 </table>
			 </div>
	        </td>
		  </tr>
		</table>
